<jsp:include page="template_header.jsp" />
            <div class="span9"> <!-- /write your content -->
                <div class="page-header">
                    <h3>Create Employee Account</h3>
                </div>    
                <jsp:include page="error-list.jsp" />
                <form id="createEmpAccountForm" class="form-horizontal" method="post">
                	
                	<div class="control-group">
					    <label class="control-label" for="firstname">First Name</label>
					    <div class="controls">
					      <input type="text" id="frstname"  name="firstName" value="${form.firstName}"/>
					    </div>
					</div>

					<div class="control-group">
					    <label class="control-label" for="lastname">Last Name</label>
					    <div class="controls">
					      <input type="text" id="lastname" name="lastName" value="${form.lastName}"/>
					    </div>
					</div>

                	<div class="control-group">
					    <label class="control-label" for="username">User Name</label>
					    <div class="controls">
					      <input type="text" id="username" name="userName" value="${form.userName}"/> 
					    </div>
					</div>	

					<div class="control-group">
					    <label class="control-label" for="pass" >Password</label>
					    <div class="controls">
					      <input type="password" id="pass" name="password" />
					    </div>
					</div>
					
					<div class="control-group">
					    <label class="control-label" for="pass_verify">Verify Password</label>
					    <div class="controls">
					      <input type="password" id="pass_verify" name="confirm" />
					    </div>
					</div>
					
					<div>
						<div class="controls">
							<button type="submit" class="btn" onclick="hashPasswords()"> Create Account </button>
							<script src="js/md5.js"></script>
							<script>
								function hashPasswords()
								{
									var password = $('#pass_verify').val();
									if(password!="")
									{
										$('#pass_verify').val(md5(password));
									}
									password = $('#pass').val();
									if(password!="")
									{
										$('#pass').val(md5(password));
									}
								}
							</script>
						</div>
					</div>		
                </form>
            </div> <!-- /end your content-->
		<jsp:include page="template_tail.jsp" />